﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared/Clinica.Master" AutoEventWireup="true" CodeBehind="FormsOperativoLiquidaciones.aspx.cs" Inherits="wesiGestClinica.estadistica.FormsReporteNro1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="../Controles/UCCalendario.ascx" TagName="UCCalendario" TagPrefix="uca" %>
<%@ MasterType VirtualPath="~/Shared/Clinica.Master" %>
<%@ Register Src="~/Controles/UCBarraHerramientas.ascx" TagName="UCBarraHerramienta"
    TagPrefix="uc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="DefaultContent" runat="server">
<script language="javascript" type="text/javascript">
        function Imprimir() {
            alert("Se envio a imprimir");
        }
    </script>

    <table class="tablafiltros" border="0">
        <tr>
            <td align="right" colspan="2">
               <uc:UCBarraHerramienta ID="UCBarra1" runat="server" />
            </td>
        </tr>
        <tr align="right">
            <td align="right">
            </td>
            <td align="right">
                <asp:Button ID="btn_Generar" runat="server" CssClass="Boton" Text="Generar" />
                <asp:Button ID="btn_Imprimir" runat="server" CssClass="Boton" Text="Imprimir" />
            </td>
        </tr>
        <tr>
            <td colspan="2" class="Titulo2">
                <asp:Label ID="lbl_Titulo1" runat="server" Text="Tipo de Reporte"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <asp:Panel ID="pnl_RangoTiempos" runat="server">
                    <asp:RadioButtonList ID="rbu_RangoTiempos" runat="server" RepeatDirection="Horizontal"
                        AutoPostBack="false">
                    </asp:RadioButtonList>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="Titulo2">
                <asp:Label ID="lbl_Titulo2" runat="server" Text="Periodo de Busqueda"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="lbl_FechaDesde" runat="server" Text="Desde" Visible="true"></asp:Label>
                <uca:UCCalendario ID="UCFecDesde" runat="server" Enabled="true" Visible="true" />
            </td>
            <td align="left">
                <asp:Label ID="lbl_FechaHasta" runat="server" Text="Hasta" Visible="true"></asp:Label>
                <uca:UCCalendario ID="UCFecHasta" runat="server" Enabled="true" Visible="true" />
            </td>
        </tr>
        <tr align="center">
            <td class="Titulo2" colspan="2" align="center" >
                <asp:Label ID="lbl_TituloResultado" runat="server" Text="Resultado"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <asp:Panel ID="pnl_Resultado01" runat="server">
                    <div style="width: 850px; height: 220px; overflow-x: hidden; overflow-y: scroll;">
                        <asp:GridView ID="dg_resultado01" runat="server" AutoGenerateColumns="False" BackColor="White"
                            BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black"
                            GridLines="Vertical">
                            <Columns>
                                <asp:BoundField DataField="Numero" HeaderText="Código">
                                    <ItemStyle HorizontalAlign="LEFT" Width="80px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="DesTipoLiquidacion" HeaderText="Tipo">
                                    <ItemStyle HorizontalAlign="Left" Width="180px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="FechaEmisionVista" HeaderText="Fecha Emision">
                                    <ItemStyle HorizontalAlign="Right" Width="100px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="NombreCompleto" HeaderText="Paciente">
                                    <ItemStyle HorizontalAlign="Left" Width="250px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="ImporteNeto" HeaderText="Monto">
                                    <ItemStyle HorizontalAlign="Right" Width="100px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Estado" HeaderText="Estado">
                                    <ItemStyle HorizontalAlign="Center" Width="100px" />
                                </asp:BoundField>                                
                            </Columns>
                            <RowStyle BackColor="#F7F7DE" />
                            <FooterStyle BackColor="#CCCC99" />
                            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                            <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                            <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="White" />
                        </asp:GridView>
                    </div>
                </asp:Panel>
            </td>
        </tr>
    </table>
</asp:Content>
